{
  "name": "@lapo/asn1js",
  "version": "1.3.0",
  "description": "Generic ASN.1 parser/decoder that can decode any valid ASN.1 DER or BER structures.",
  "main": "asn1.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lapo-luchini/asn1js.git"
  },
  "keywords": [ "asn1", "ber", "der", "pem" ],
  "author": "Lapo Luchini <lapo@lapo.it>",
  "license": "ISC",
  "bugs": { "url": "https://github.com/lapo-luchini/asn1js/issues" },
  "homepage": "https://lapo.it/asn1js/",
  "files": [ "asn1.js", "base64.js", "hex.js", "int10.js", "oids.js" ],
  "scripts": {
    "lint": "npx eslint asn1.js base64.js hex.js int10.js oids.js tags.js index.js parseRFC.js dumpASN1.js",
    "lint-action": "npx @action-validator/cli .github/workflows/node.js.yml",
    "serve": "echo 'Connect to http://localhost:3000/' ; npx statik --port 3000 .",
    "test": "node test"
  },
  "engines": {
    "node": ">=6.4.0"
  },
  "devDependencies": {
    "eslint": "^8.34.0"
  },
  "eslintConfig": {
    "env": {
      "es6": true,
      "amd": true,
      "browser": true,
      "node": true
    },
    "extends": [ "eslint:recommended" ],
    "globals": {
      "Uint8Array": "readonly"
    },
    "rules": {
      "strict": [ "error", "function" ],
      "indent": [ "error", 4, { "ignoredNodes": [ "Program > ExpressionStatement > CallExpression > FunctionExpression > BlockStatement > ExpressionStatement[directive='use strict']:first-child" ] } ],
      "linebreak-style": [ "error", "unix" ],
      "semi": [ "warn", "always" ],
      "quotes": [ "error", "single", { "avoidEscape": true } ],
      "no-var": [ "warn" ],
      "comma-dangle": [ "error", "never" ]
    },
    "overrides": [
      {
        "files": [ "test.js", "parseRFC.js", "dumpASN1.js" ],
        "parserOptions": {
          "ecmaVersion": 2021
        },
        "rules": {
          "strict": [ "error", "global" ],
          "comma-dangle": [ "error", "always-multiline" ]
        }
      }, {
        "files": [ "oids.js" ],
        "rules": {
          "indent": "off",
          "quotes": [ "warn", "double" ]
        }
      }, {
        "files": [ "tags.js" ],
        "rules": {
          "comma-dangle": [ "error", "always-multiline" ],
          "quotes": [ "warn", "double" ]
        }
      }
    ]
  }
}
